/* 
 * File:   InfoExtractWithoutMarker.h
 * Author: Henrique
 *
 * Created on 26 de Outubro de 2011, 15:40
 */

#ifndef INFOEXTRACTWITHOUTMARKER_H
#define	INFOEXTRACTWITHOUTMARKER_H

#include "ExtratorDeInformacoes.h"
#include "Auxiliar.h"

using namespace cv;



class ExtratorDeInformacoesSemMarcadores : public ExtratorDeInformacoes{
public:
    ExtratorDeInformacoesSemMarcadores();
    ExtratorDeInformacoesSemMarcadores(const ExtratorDeInformacoesSemMarcadores& orig);
    virtual ~ExtratorDeInformacoesSemMarcadores();

   // Conteudo* extrairInformacao(Estrutura* est, IplImage* dst);
    string extrairInformacao(Estrutura* est, IplImage* dst);
   

private:
    string findAnswer(vector<CvRect> quadriculas, IplImage * dst);
    vector<CvRect> formaQuadriculas(vector<Campo*> campos);
    string compareAnswers(const char * archieveFileName,
        const char * answerFileName);
};

#endif	/* INFOEXTRACTWITHOUTMARKER_H */

